import "./index.css";
import {View,Image} from "@tarojs/components";
import {AtButton} from "taro-ui";
import Footer from '../../components/Footer';
import images from '../../assets/img.png';
import Taro from "@tarojs/taro";

export default () => {
  return (
    <View className='IndexPage'>
      <View className='at-article__h1 titele1'>
        MBTI 性格测试
      </View>
      <View className='at-article__h2 titele2'>只需 2 分钟，就能非常准确地描述出你是谁，以及你的性格特点</View>
      <AtButton type='primary' className='startbut' circle={true} onClick={()=>{
        Taro.navigateTo({
          url: '/pages/doQuestion/index',
        })
      }}
      >开始测试</AtButton>
      <Image
        src={images}
        className='imgPage'
      />
      <Footer/>
    </View>
  );
};
